package com.wthink.hzgj.data.domain

import androidx.room.Entity
import androidx.room.Index
import androidx.room.PrimaryKey

@Entity(
    indices = arrayOf(Index(value = arrayOf("key"), unique = true))
)
data class Setting(
    @PrimaryKey(autoGenerate = true)
    var id: Long = 0,
    val key: String,
    val value: String
)

object SettingKey {
    val USER = "USER" // 考勤请求的用户，行车计划的用户
    val LINE = "LINE" // 考勤请求的线路，
    val LOG = "LOG" //日志级别
}